		<!-- start: Header -->
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				<a id="main-menu-toggle" class="hidden-phone open"><i class="icon-reorder"></i></a>		
				<div class="row-fluid">
				<a class="brand span2" href="javascript:setUrl('./index.php?system/config')"><span>WCMS v8.3.11</span> </a>
				</div>		
				<!-- start: Header Menu -->
				<div class="nav-no-collapse header-nav">
					<ul class="nav pull-right">
							<li class="dropdown">
							<a class="btn account dropdown-toggle" data-toggle="dropdown" href="#">
								<i class="icon-wrench"></i>
							</a>
							<ul class="dropdown-menu">
								<li class="dropdown-menu-title">
									Language
								</li>
									<li><a href="./index.php?lang/language/?lang=cn"><img src="./static/bootstrap2/country/cn.jpg">中文简体</a></li>
								<li><a href="./index.php?lang/language/?lang=ft"><img src="./static/bootstrap2/country/ft.jpg">繁體</a></li>
							
								<li><a href="./index.php?lang/language/?lang=en"><img src="./static/bootstrap2/country/en.jpg">English</a></li>
								<li><a href="./index.php?lang/language/?lang=kor"><img src="./static/bootstrap2/country/kor.jpg">한국</a></li>
								<li><a href="./index.php?lang/language/?lang=jpn"><img src="./static/bootstrap2/country/jpn.jpg">日本語</a></li>
								<li><a href="./index.php?lang/language/?lang=ru"><img src="./static/bootstrap2/country/ru.jpg">русский</a></li>
							
							</ul>
						</li>
					
					
					
						<li class="dropdown hidden-phone">
							<a class="btn dropdown-toggle" href="#myModal" role="button"  data-toggle="modal"  onclick="cleanall();">
								<i class="icon-refresh"></i>
							</a>
							
						</li>
						<!-- start: Notifications Dropdown -->
						<li class="dropdown hidden-phone">
							<a class="btn dropdown-toggle"  href="./" target="_blank">
								<i class="icon-home"></i>
							</a>
							
						</li>
					
					
					
						<!-- start: User Dropdown -->
						<li class="dropdown">
							<a class="btn account dropdown-toggle" data-toggle="dropdown" href="#">
								<div class="avatar"><img src="{if $user.face==''}./static/attached/face/default_01.jpg{else}{$user.face}{/if}" alt="Avatar" /></div>
								<div class="user">
									<span class="hello">Welcome!</span>
									<span class="name">{$user.username}</span>
								</div>
							</a>
							<ul class="dropdown-menu">
								<li class="dropdown-menu-title">
									
								</li>
								<li><a href="./index.php?member/edit/?uid={$user.id}"><i class="icon-user"></i> 个人信息</a></li>
								<li><a href="./index.php?system/config"><i class="icon-cog"></i> 系统设置</a></li>
								<li><a href="./index.php?anonymous/signout"><i class="icon-off"></i> 退出</a></li>
							</ul>
						</li>
						<!-- end: User Dropdown -->
					</ul>
				</div>
				<!-- end: Header Menu -->
				
			</div>
		</div>
	</div>
	<!-- start: Header -->










<!-- Modal -->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel">短消息</h3>
  </div>
  <div class="modal-body">
    <p>One fine body…</p>
  </div>
  <div class="modal-footer">
    <button class="btn btn-warning" data-dismiss="modal" aria-hidden="true">确认</button>
  </div>
</div>


{literal}
<script>

function cleanall(){
	$.post("./index.php?factory/cleancache",{type:"all"},function(data){
		$('.modal-body').html(data.message)
	},"json");
	} 

</script>
{/literal}
